import customApi from "@/api/declaration/crm/customApi"
import httpRequest from "@/config/axios/httpRequest"
import { CrmCustomerPoolConfigModel } from "@/models/crm/CrmCustomerPoolConfigModel"


// 获取客户公海规则设置
export const getCustomerPoolConfig = async () => {
  return await httpRequest.get(customApi.GetCustomerPoolConfig)
}

// 更新客户公海规则设置
export const saveCustomerPoolConfig = async (data: CrmCustomerPoolConfigModel) => {
  return await httpRequest.put(customApi.SaveCustomerPoolConfig, data)
}
